<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Marko B
 * Date: 5/28/13
 * Time: 2:55 PM
 * To change this template use File | Settings | File Templates.
 */



function truncate_ip_table(){
    $username="sitmonte_ivan";
    $password="print00";
    $hostname="mysql";
    $database="sitmonte_cms_sitbar";
    $dbhandle=mysql_connect($hostname, $username, $password);
    $selected=mysql_select_db($database, $dbhandle);
    mysql_query("TRUNCATE TABLE visitors");
}